extern char *xcsv_urlbase;
extern char *prefer_shortnames;
-extern geocache_type gs_mktype(const char *t);
-extern geocache_container gs_mkcont(const char *t);
-
static double pathdist = 0;
static double oldlon = 999;
static double oldlat = 999;
waypoint * find_waypt_by_name(const char *name);
void waypt_backup(signed int *count, queue **head_bak);
void waypt_restore(signed int count, queue *head_bak);
+
geocache_data *waypt_alloc_gc_data(waypoint *wpt);
int waypt_empty_gc_data(const waypoint *wpt);
+geocache_type gs_mktype(const char *t);
+geocache_container gs_mkcont(const char *t);
route_head *route_head_alloc(void);
void route_add (waypoint *);
gcdata->hint = xstrdup(s);
break;
case 12: // cache type
+ gcdata->type = gs_mktype(s);
break;
case 13: wpt_tmp->creation_time = maggeo_parsedate(s);
break;
ARG_TERMINATOR };
-extern geocache_type gs_mktype(const char *t);
-extern geocache_container gs_mkcont(const char *t);
-
/* helpers */
// #define UNICSV_IS(f) (0 == strcmp(s, f))